<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>034-项目排序和单独对齐</title>
		<style>
			.box {
				width: 800px;
				height: 800px;
				border: 1px solid #000;
				margin: 0 auto;
				display: flex;
			}

			.inner {
				width: 200px;
				height: 200px;
				background-color: #f00;
				border: 1px dashed #000;
				font-size: 40px;
				text-align: center;
				line-height: 200px;
				color: #fff;
			}

			.inner2 {
				order: -1;
			}

			.inner1 {
				align-self: center;
			}

			.inner3 {
				margin-left: auto;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="inner inner1">1</div>
			<div class="inner inner2">2</div>
			<div class="inner inner3">3</div>
		</div>
	</body>
</html>
